﻿using QPlcPlayer.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QPlcPlayer.Services
{
	public partial class PigeonCageService: QMainService
	{

		public List<PigeonCage> GetPigeonCageList()
		{
			 var db = CreateDbContext();
			var res=db.Set<PigeonCage>().ToList();
			return res;
		}

		public int GetPigeonCageCount()
		{
			var db = CreateDbContext();
			var res = db.Set<PigeonCage>().Count();
			return res;
		}
	}
}
